package fr.cie.blog.beans;

import java.util.ArrayList;
import java.util.List;

/**
 * Details about user identity.
 * 
 * @author Jee3
 * 
 */
public class Card extends AbstractModel {

	/**
	 * address.
	 */
	private String address;

	/**
	 * zipCode.
	 */
	private String zipCode;

	/**
	 * city.
	 */
	private String city;

	/**
	 * owner.
	 */
	private User owner;

	/**
	 * interestList.
	 */
	private List<Interest> interestList = new ArrayList<Interest>();

	/**
	 * style.
	 */
	private Style style;

	/**
	 * avatar.
	 */
	private Avatar avatar;

	/**
	 * country.
	 */
	private Country country;

	/**
	 * @return the address
	 */
	public final String getAddress() {
		return address;
	}

	/**
	 * @return the avatar
	 */
	public final Avatar getAvatar() {
		return avatar;
	}

	/**
	 * @return the city
	 */
	public final String getCity() {
		return city;
	}

	/**
	 * @return the country
	 */
	public final Country getCountry() {
		return country;
	}

	/**
	 * @return the interestList
	 */
	public final List<Interest> getInterestList() {
		return interestList;
	}

	/**
	 * @return the owner
	 */
	public final User getOwner() {
		return owner;
	}

	/**
	 * @return the style
	 */
	public final Style getStyle() {
		return style;
	}

	/**
	 * @return the zipCode
	 */
	public final String getZipCode() {
		return zipCode;
	}

	/**
	 * @param newAddress
	 *            the address to set
	 */
	public final void setAddress(final String newAddress) {
		this.address = newAddress;
	}

	/**
	 * @param newAvatar
	 *            the avatar to set
	 */
	public final void setAvatar(final Avatar newAvatar) {
		this.avatar = newAvatar;
	}

	/**
	 * @param newCity
	 *            the city to set
	 */
	public final void setCity(final String newCity) {
		this.city = newCity;
	}

	/**
	 * @param newCountry
	 *            the country to set
	 */
	public final void setCountry(final Country newCountry) {
		this.country = newCountry;
	}

	/**
	 * @param newInterestList
	 *            the interestList to set
	 */
	public final void setInterestList(final List<Interest> newInterestList) {
		this.interestList = newInterestList;
	}

	/**
	 * @param newOwner
	 *            the owner to set
	 */
	public final void setOwner(final User newOwner) {
		this.owner = newOwner;
	}

	/**
	 * @param newStyle
	 *            the style to set
	 */
	public final void setStyle(final Style newStyle) {
		this.style = newStyle;
	}

	/**
	 * @param pZipCode
	 *            the zipCode to set
	 */
	public final void setZipCode(final String pZipCode) {
		this.zipCode = pZipCode;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public final String toString() {
		return "Card [address=" + address + ", zipCode=" + zipCode
				+ ", city=" + city + "]";
	}

}